package com.sugon.modules.device.model.vo;

import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;
import org.hibernate.validator.constraints.NotEmpty;

import java.io.Serializable;
import java.util.List;

/**
 * 添加设备维护规程项VO
 *
 * @author YuXD
 * @since 2022-08-18
 */
@Data
public class AddMaintenanceRuleItemVO implements Serializable {

    /**
     * 维护规程ID
     */
    @NotBlank(message = "设备维护规程不能为空！")
    private String planId;

    /**
     * 设备维护项ID列表
     */
    @NotEmpty(message = "维护项必选！")
    private List<String> mainBaseIdList;

}
